#import cherrypy
<div class="tl"><div class="tr">
    payments
</div></div>
<div class="menuContent">
	<form action="renamePayment" method="POST" name="renamePaymentForm">
		<input type="hidden" name="paymentNewName" value=""/>
		<input type="hidden" name="paymentId" value=""/>
		#if $cherrypy.session['user'].payments != None and len($cherrypy.session['user'].payments)>0:
			#for payment in $cherrypy.session['user'].payments:
				<img style="cursor:pointer; font-size: 11px; height: 2%;" src="/static/images/edit.png" title="Rename"
					onclick="renameItem($payment.id, 'payment', '$payment.name');"/>
				<img style="cursor:pointer; font-size: 11px; height: 2%;" src="/static/images/user-trash-pp.png" title="Delete"
					onclick="deleteItem($payment.id, 'payment');"/>
				<a href="/main/selectByPayment?paymentId=$payment.id">$payment.name</a>
				<br>
			#end for
		#else:
			You have no payments.
		#end if
	</form>
</div>
<div class="bl"><div class="br">
--
</div></div>
